package com.sakura.oj.constant;

/**
 * 通用常量
 */
public interface CommonConstant {

    /**
     * 保存用户信息的redis key
     */
    String AUTH_TOKEN_KEY = "auth:user:token:";

    /**
     * 保存token的redisKey
     */
    String AUTH_USER_KEY = "auth:user:id:";

    /**
     * 升序
     */
    String SORT_ORDER_ASC = "ascend";

    /**
     * 降序
     */
    String SORT_ORDER_DESC = " descend";

    /**
     * http请求
     */
    String HTTP = "http://";

    /**
     * https请求
     */
    String HTTPS = "https://";
    String SLASH = "/";
}
